package cate.game.admin.menu.furniture;

import cate.game.GameBody;
import cate.game.admin.menu.MenuSetup;

public class FurnitureMenu extends MenuSetup {
    public FurnitureMenu(GameBody gameBody) {
        super("手办");

        reg(gameBody, "模拟xx次结果",2,"参数1 ：次数",
                (role, params) -> {
                    if (params == null || params.size() < 1) {
                        gameBody.notice.message(role, "缺少参数");
                        return;
                    }
                    role.getRes().furnitureCall.gmCall(1, Integer.parseInt(params.get(0)));
                    gameBody.notice.message(role, "模拟结果请看世界聊天频道");
                });
    }
}
